<?php

$balk = '<ul class="nav nav-pills pull-right">
              <li><a href="'.\Instelling::GET('website.root').'Profiel"><span class="glyphicon glyphicon-user"></span> &nbsp;'.$_SESSION['persoonnaam'].'</a></li>
              <li><a href="'.\Instelling::GET('website.root').'/"><span class="glyphicon glyphicon-globe"></span> &nbsp;Website</a></li>';

if ($this->getData('isadmin')) {
    $balk .= '<li><a href="'.\Instelling::GET('website.root').'Dashboard"><span class="glyphicon glyphicon-dashboard"></span> &nbsp;Dashboard</a></li>';
}
            
$balk .=   '  <li><a href="'.\Instelling::GET('website.root').'Afmelden"><span class="glyphicon glyphicon-log-out"></span> &nbsp;Afmelden</a></li>
        </ul>';

\Weergave::SETWEERGAVE('adminbalk',$balk);